package com.lwl.entity;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
@Table(name = "t_menu_role")
@Data
@AllArgsConstructor
@NoArgsConstructor
//@ApiModel(value = "TMenuRole)", description = "")
public class TMenuRole implements Serializable {
 private static final long serialVersionUID = -23455504078236479L;
 @Id
@Column(name = "id")
private Integer id;
@Column(name = "rid")
//@ApiModelProperty(value = "角色id")
private Integer rid;
@Column(name = "mid")
//@ApiModelProperty(value = "菜单的id")
private Integer mid;

 public TMenuRole(Integer rid, Integer mid) {
  this.rid = rid;
  this.mid = mid;
 }
}
